namespace ScrumSprintMonitor.UI.Wpf
{
	#region #using Directives

	using System.Diagnostics;

	using Infrastructure.Configuration;

	#endregion

	public class ShellLayoutConfiguration : IShellLayoutConfiguration
	{
		private readonly SprintMode activeSprintMode;
		private readonly bool multiMonitor;
		private readonly bool runningAsScreensaver;
		private readonly bool showBurndownChart;

		public ShellLayoutConfiguration(bool multiMonitor, bool runningAsScreensaver, bool showBurndownChart, SprintMode activeSprintMode)
		{
			this.multiMonitor = multiMonitor;
			this.showBurndownChart = showBurndownChart;
			this.activeSprintMode = activeSprintMode;
			this.runningAsScreensaver = runningAsScreensaver;
		}

		#region Implementation of IShellLayoutConfiguration

		public bool MultiMonitor
		{
			[DebuggerStepThrough]
			get { return this.multiMonitor; }
		}

		public bool RunningAsScreensaver
		{
			[DebuggerStepThrough]
			get { return this.runningAsScreensaver; }
		}

		public bool ShowBurndownChart
		{
			[DebuggerStepThrough]
			get { return this.showBurndownChart; }
		}

		public SprintMode ActiveSprintMode
		{
			[DebuggerStepThrough]
			get { return this.activeSprintMode; }
		}

		#endregion
	}
}